package com.iwhalecloud.bss.kite.cucc.client.dto.pos;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.List;

@ApiModel("用户群组关系")
public class KitePosRelationDTO extends KitePosBaseDTO {

    @ApiModelProperty("用户群组关系实例Id")
    private String instanceId;

    @ApiModelProperty("主用户标识")
    private String primaryUserId;

    @ApiModelProperty("主用户业务号码")
    private String primarySerialNumber;

    @ApiModelProperty("当前用户实例Id")
    private String userInstId;

    @ApiModelProperty("关系类型 0虚拟用户与成员 1集团用户与成员")
    private String relationTypeCode;

    @ApiModelProperty("A角色编码")
    private String primaryRoleCode;

    @ApiModelProperty("B角色编码")
    private String memRoleCode;

    @ApiModelProperty("顺序号")
    private String discntPriority;

    @ApiModelProperty("起始时间")
    private String startTime;

    @ApiModelProperty("终止时间")
    private String endTime;

    @ApiModelProperty("属性标识")
    private String relItemId;

    @ApiModelProperty("主用户省份编码")
    private String primaryProvinceCode;

    @ApiModelProperty("主用户地市编码")
    private String primaryEparchyCode;

    @ApiModelProperty("修改标识")
    private String changeType;

    @ApiModelProperty("用户属性标识")
    private String memUserId;

    @ApiModelProperty("群组关系属性")
    private List<KitePosAttrDTO> attrs;

    public String getInstanceId() {
        return instanceId;
    }

    public void setInstanceId(String instanceId) {
        this.instanceId = instanceId;
    }

    public String getPrimaryUserId() {
        return primaryUserId;
    }

    public void setPrimaryUserId(String primaryUserId) {
        this.primaryUserId = primaryUserId;
    }

    public String getPrimarySerialNumber() {
        return primarySerialNumber;
    }

    public void setPrimarySerialNumber(String primarySerialNumber) {
        this.primarySerialNumber = primarySerialNumber;
    }

    public String getUserInstId() {
        return userInstId;
    }

    public void setUserInstId(String userInstId) {
        this.userInstId = userInstId;
    }

    public String getRelationTypeCode() {
        return relationTypeCode;
    }

    public void setRelationTypeCode(String relationTypeCode) {
        this.relationTypeCode = relationTypeCode;
    }

    public String getPrimaryRoleCode() {
        return primaryRoleCode;
    }

    public void setPrimaryRoleCode(String primaryRoleCode) {
        this.primaryRoleCode = primaryRoleCode;
    }

    public String getMemRoleCode() {
        return memRoleCode;
    }

    public void setMemRoleCode(String memRoleCode) {
        this.memRoleCode = memRoleCode;
    }

    public String getDiscntPriority() {
        return discntPriority;
    }

    public void setDiscntPriority(String discntPriority) {
        this.discntPriority = discntPriority;
    }

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public String getRelItemId() {
        return relItemId;
    }

    public void setRelItemId(String relItemId) {
        this.relItemId = relItemId;
    }

    public String getPrimaryProvinceCode() {
        return primaryProvinceCode;
    }

    public void setPrimaryProvinceCode(String primaryProvinceCode) {
        this.primaryProvinceCode = primaryProvinceCode;
    }

    public String getPrimaryEparchyCode() {
        return primaryEparchyCode;
    }

    public void setPrimaryEparchyCode(String primaryEparchyCode) {
        this.primaryEparchyCode = primaryEparchyCode;
    }

    public String getChangeType() {
        return changeType;
    }

    public void setChangeType(String changeType) {
        this.changeType = changeType;
    }

    @Override
    public List<KitePosAttrDTO> getAttrs() {
        return attrs;
    }

    @Override
    public void setAttrs(List<KitePosAttrDTO> attrs) {
        this.attrs = attrs;
    }

    public String getMemUserId() {
        return memUserId;
    }

    public void setMemUserId(String memUserId) {
        this.memUserId = memUserId;
    }
}
